package com.muqi.app.qlearn.modles;

import java.io.Serializable;
import org.json.JSONObject;

import com.google.gson.Gson;

public class NoticeBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public String id;
	public String user_id;
	public String im_user_id;//暂无
	public String title;
	public String content;
	public String create_time;
	public String name;
	public String nickname;
	public String week;
	
	public String flower_count = "0";
	public String read_st = "n";
	public String commentCount = "0";
	public MediaInfo fileurl;
	
	
	public static NoticeBean fromJson(JSONObject json) {
		if(json != null){
            return new Gson().fromJson(json.toString(),NoticeBean.class);
        }
		return null;
	}
}
